package com.iplant.wms.service;

import com.iplant.base.po.Pagination;
import com.iplant.base.po.ServiceResult;
import com.iplant.base.po.excel.ExcelData;
import com.iplant.basic.service.po.bms.BMSEmployee;
import com.iplant.wms.service.po.wpo.WMSPurchaseOrder;
import com.iplant.wms.service.po.wpo.WMSPurchaseOrderItem;

import java.util.Calendar;
import java.util.List;

public interface WPOService {

	ServiceResult<Integer> WMS_UpdatePurchaseOrder(BMSEmployee wLoginUser,
													  WMSPurchaseOrder wWMSPurchaseOrder);

	ServiceResult<Integer> WMS_DeletePurchaseOrderList(BMSEmployee wLoginUser,
												   List<WMSPurchaseOrder> wPurchaseOrderList);

	ServiceResult<Integer> WMS_UpdatePurchaseOrderItemList(BMSEmployee wLoginUser,
														   List<WMSPurchaseOrderItem> wWMSPurchaseOrderItemList);

	ServiceResult<Integer> WMS_DeletePurchaseOrderItemList(BMSEmployee wLoginUser,
													   List<WMSPurchaseOrderItem> wPurchaseOrderItemList);

	ServiceResult<Integer> WMS_ImportPurchaseOrder(BMSEmployee wLoginUser, ExcelData wExcelData);




	ServiceResult<WMSPurchaseOrder> WMS_QueryPurchaseOrder(BMSEmployee wLoginUser, int wID,String wCode);




	ServiceResult<WMSPurchaseOrderItem> WMS_QueryPurchaseOrderItem(BMSEmployee wLoginUser, int wID,
																   String wCode);


}
